edu.stanford.smi.protege.server.metaproject.impl
Class PolicyImpl
java.lang.Object
edu.stanford.smi.protege.server.metaproject.impl.PolicyImpl
- All Implemented Interfaces:
- Localizable, Policy, Serializable
public class PolicyImpl
- extends Object
- implements Policy, Localizable, Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyImpl
public PolicyImpl(MetaProjectImpl mp)
isOperationAuthorized
public boolean isOperationAuthorized(User user,
Operation op,
PolicyControlledObject project)
- Specified by:
isOperationAuthorized in interface Policy
getAllowedOperations
public Set<Operation> getAllowedOperations(User user,
ProjectInstance project)
- Specified by:
getAllowedOperations in interface Policy
getKnownOperations
public Set<Operation> getKnownOperations()
- Specified by:
getKnownOperations in interface Policy
getUserByName
public User getUserByName(String userName)
- Specified by:
getUserByName in interface Policy
getProjectInstanceByName
public ProjectInstance getProjectInstanceByName(String projectName)
- Specified by:
getProjectInstanceByName in interface Policy
getServerInstanceByName
public ServerInstance getServerInstanceByName(String serverName)
- Specified by:
getServerInstanceByName in interface Policy
getFirstServerInstance
public ServerInstance getFirstServerInstance()
- Specified by:
getFirstServerInstance in interface Policy
localize
public void localize(KnowledgeBase kb)
- Specified by:
localize in interface Localizable
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2012 Stanford University.